package com.shop.cereshop.admin.dao.product;

import com.shop.cereshop.commons.domain.product.CereProductSku;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CereProductSkuDAO {
    int deleteByPrimaryKey(Long skuId);

    int insert(CereProductSku record);

    int insertSelective(CereProductSku record);

    CereProductSku selectByPrimaryKey(Long skuId);

    int updateByPrimaryKeySelective(CereProductSku record);

    int updateByPrimaryKey(CereProductSku record);

    int findStockNumber(@Param("skuId") Long skuId);
}